<?php
	error_reporting(1);
	// uncomment next two lines to display errors
	// error_reporting(E_ALL);
	// ini_set('display_errors', '1');

	header("Pragma: No-Cache");
	header("Cache-Control: No-Cache");
/*	
	session_start();	
	
	// in seconds
	$inactive = 1800; //30 mins
	
	if (!isset($_SESSION['timeout']))
		$_SESSION['timeout'] = 0;
	
	$session_life = time() - $_SESSION['timeout'];
	if (($session_life > $inactive) && (strpos($_SERVER['PHP_SELF'],"login.php")=="")) {
		session_destroy(); 
		header("Location: ../main/login.php"); 
	}

	$_SESSION['timeout']=time(); */

	//-------------CONSTANTS-----//

	$MAX_PAGE_ROWS = 2;
?>
